package com.t.bricks.bussiness.db.entity.belongingsapply;

import io.swagger.annotations.ApiModelProperty;

import com.t.bricks.bussiness.db.entity.belongingsapply.base.BelongingsApplyBase;

/**
 * 财务申请'BelongingsApply'表扩展实体类
 * 注意:可根据需要创建不同的多个扩展实体类,而不是把所有的扩展属性都集中到一个类中
 * @author HuangXinBian
 */
public class BelongingsApply extends BelongingsApplyBase {
	
	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 是否通用设备(布尔值,1:是;2:否)
	 */
	@ApiModelProperty(value="是否通用设备(布尔值,1:是;2:否)", example="")
	private String sCommonByDeviceText;

	/**
	 * 是否危险品(布尔值,1:是;2:否)
	 */
	@ApiModelProperty(value="是否危险品(布尔值,1:是;2:否)", example="")
	private String sDangerText;
	
	/**
	 * 发票类型(枚举,1:有发票;2:转账;3:无
	 */
	@ApiModelProperty(value="发票类型(枚举,1:有发票;2:转账;3:无", example="")
	private String sInvoiceTypeText;
	
	/**
	 * 状态(枚举,1:草稿;2:已申请;3:已验收;4:已审核;5:已注销;6:已完结)
	 */
	@ApiModelProperty(value="状态(枚举,1:草稿;2:已申请;3:已验收;4:已审核;5:已注销;6:已完结)", example="")
	private String sStateText;

	/**
	 * 取 是否通用设备(布尔值,1:是;2:否)
	 * @return CommonByDeviceText 是否通用设备(布尔值,1:是;2:否)
	 */
	public String getsCommonByDeviceText() {
		return this.sCommonByDeviceText;
	}

	/**
	 * 设置 是否通用设备(布尔值,1:是;2:否)
	 * @param sCommonByDeviceText 是否通用设备(布尔值,1:是;2:否)
	 */
	public void setsCommonByDeviceText(String sCommonByDeviceText) {
		this.sCommonByDeviceText = sCommonByDeviceText;
	}

	/**
	 * 取 是否危险品(布尔值,1:是;2:否)
	 * @return DangerText 是否危险品(布尔值,1:是;2:否)
	 */
	public String getsDangerText() {
		return this.sDangerText;
	}

	/**
	 * 设置 是否危险品(布尔值,1:是;2:否)
	 * @param sDangerText 是否危险品(布尔值,1:是;2:否)
	 */
	public void setsDangerText(String sDangerText) {
		this.sDangerText = sDangerText;
	}

	/**
	 * 取 发票类型(枚举,1:有发票;2:转账;3:无
	 * @return InvoiceTypeText 发票类型(枚举,1:有发票;2:转账;3:无
	 */
	public String getsInvoiceTypeText() {
		return this.sInvoiceTypeText;
	}

	/**
	 * 设置 发票类型(枚举,1:有发票;2:转账;3:无
	 * @param sInvoiceTypeText 发票类型(枚举,1:有发票;2:转账;3:无
	 */
	public void setsInvoiceTypeText(String sInvoiceTypeText) {
		this.sInvoiceTypeText = sInvoiceTypeText;
	}

	/**
	 * 取 状态(枚举,1:草稿;2:已申请;3:已验收;4:已审核;5:已注销;6:已完结)
	 * @return StateText 状态(枚举,1:草稿;2:已申请;3:已验收;4:已审核;5:已注销;6:已完结)
	 */
	public String getsStateText() {
		return this.sStateText;
	}

	/**
	 * 设置 状态(枚举,1:草稿;2:已申请;3:已验收;4:已审核;5:已注销;6:已完结)
	 * @param sStateText 状态(枚举,1:草稿;2:已申请;3:已验收;4:已审核;5:已注销;6:已完结)
	 */
	public void setsStateText(String sStateText) {
		this.sStateText = sStateText;
	}

	/**
	 * 复制对象
	 * @param source 数据源
	 * @return BelongingsApply
	 */
	public static BelongingsApply copy(BelongingsApply source) {
		if (null == source) {
			return null;
		}
		
		BelongingsApply target = new BelongingsApply();
		target.setsId(source.getsId());
		target.setsPersonId(source.getsPersonId());
		target.setsPerson(source.getsPerson());
		target.setsBelTypeId(source.getsBelTypeId());
		target.setsBelType(source.getsBelType());
		target.setsBelDetail(source.getsBelDetail());
		target.setiCommonByDevice(source.getiCommonByDevice());
		target.setiDanger(source.getiDanger());
		target.setsInformation(source.getsInformation());
		target.setdRegistrationDate(source.getdRegistrationDate());
		target.setiNumber(source.getiNumber());
		target.setsFormat(source.getsFormat());
		target.setmPrice(source.getmPrice());
		target.setmTotalPrice(source.getmTotalPrice());
		target.setiInvoiceType(source.getiInvoiceType());
		target.setsInvoiceNo(source.getsInvoiceNo());
		target.setsInvoiceTitle(source.getsInvoiceTitle());
		target.setsInvoiceDate(source.getsInvoiceDate());
		target.setsAccount(source.getsAccount());
		target.setsAccountCard(source.getsAccountCard());
		target.setsAccountDetail(source.getsAccountDetail());
		target.setsTakePersonId(source.getsTakePersonId());
		target.setsTakePerson(source.getsTakePerson());
		target.setsUserPersonId(source.getsUserPersonId());
		target.setsUserPerson(source.getsUserPerson());
		target.setsAreaId(source.getsAreaId());
		target.setsArea(source.getsArea());
		target.setsFile(source.getsFile());
		target.setdManageMemo(source.getdManageMemo());
		target.setsMemo(source.getsMemo());
		target.setsAcceptId(source.getsAcceptId());
		target.setsAccepter(source.getsAccepter());
		target.setdAcceptDate(source.getdAcceptDate());
		target.setsAuditId(source.getsAuditId());
		target.setsAuditor(source.getsAuditor());
		target.setdAuditDate(source.getdAuditDate());
		target.setsEmptyId(source.getsEmptyId());
		target.setsEmpty(source.getsEmpty());
		target.setdEmptyDate(source.getdEmptyDate());
		target.setsEmptyAuditorId(source.getsEmptyAuditorId());
		target.setsEmptyAuditor(source.getsEmptyAuditor());
		target.setdEmptyAuditorDate(source.getdEmptyAuditorDate());
		target.setsCreator(source.getsCreator());
		target.setdCreateDate(source.getdCreateDate());
		target.setsModifieder(source.getsModifieder());
		target.setdModifiedDate(source.getdModifiedDate());
		target.setiState(source.getiState());
		target.setiIndex(source.getiIndex());
		target.setiVersion(source.getiVersion());
		target.setsCommonByDeviceText(source.getsCommonByDeviceText());
		target.setsDangerText(source.getsDangerText());
		target.setsInvoiceTypeText(source.getsInvoiceTypeText());
		target.setsStateText(source.getsStateText());

		return target;
	}
	
	/**
	 * 克隆对象
	 * @return BelongingsApply
	 */
	@Override
	public BelongingsApply clone() {
		return copy(this);
	}
	
}
